package com.smartinput.voice.websocket

import org.springframework.web.socket.WebSocketSession

// 会话信息
data class SessionInfo(
    val session: WebSocketSession,
    var deviceId: String,
    var isRecording: Boolean = false,
    val audioBuffer: MutableList<ByteArray> = mutableListOf(),
    var lastProcessTime: Long = 0,
    var isAsyncMode: Boolean = false // 新增：异步模式标记
)